package com.yueqianshop.common.exception;

import sun.java2d.pipe.SolidTextRenderer;

//库存锁定异常
public class NoStockException extends RuntimeException{

    private Long skuId;
    public NoStockException(long skuId){
        super(skuId+"号商品库存不足");
    }
    public NoStockException(String msg){
        super(msg);
    }
}
